package adapterPackage;

import java.util.ArrayList;
import java.util.List;

import systemPackage.MainSystem;
import dataTypesPackage.Liman;

public class LimanAdapter {
	public static List<Liman> getAllLiman(){
		List<Object> objectList = MainSystem.getAll(Liman.class);
		//as all getAll functions, we have to cast to according class
		List<Liman> limanList = new ArrayList<Liman>();
		for(Object temp:objectList){
			limanList.add((Liman)temp);
		}
		return limanList;
	}
}
